<template>
    <div class="body">
      <headerView  ref="header" systemName="赵县中医院OA系统"/>
      <el-container>
        <leftView ref="leftView" />
        <keep-alive>
           <router-view></router-view>
        </keep-alive>
      </el-container>
    </div>
    </template>
    <script >
    import headerView from "@/components/header.vue";
    import leftView from "@/components/reportWork/leftReportWorkMenu.vue";
    
    export default {
      name: "Index",
      components: {
        headerView,
        leftView,
      },
      data() {
        return {
        };
      },
      mounted() {
        // this.$refs.header.systemName="赵县中医院OA系统";
        this.$refs.header.homeIndexName = "BaseInfoMainView";
        // console.log(this.$route);
      },
      methods: {
        openOrClose(){
          this.$refs.leftView.openOrClose()
        },
     
      },
    };
    </script>
    <style scoped>
    .body{
    background: white;
    }
    </style>